package com.szrt.day20170414.ch01;

public class Child extends Father {
	
	
	@Override
	public void print() {
		System.out.println("child bbb");
	}
	
	
	
	/**
	 * final 修饰的方法子类可以继承但是不能重写 故意报错
	 */
	@Override
	public void hello() {
		System.out.println("child hello");
	}
	
	

}
